import { createRouter, createWebHistory } from 'vue-router'
import HomeView from '../views/HomeView.vue'

const router = createRouter({
  history: createWebHistory(import.meta.env.BASE_URL),
  routes: [
    {
      path: '/',
      name: 'home',
      component: HomeView,
    },
    {
      path: '/Login',
      
      component: () => import('@/views/Login.vue'),
    },
    {
      path: '/AddHuiYuanQy',
      
      component: () => import('@/views/AddHuiYuanQy.vue'),
    },
    {
      path: '/ShowHuiYuanQy',
      
      component: () => import('@/views/ShowHuiYuanQy.vue'),
    },
    {
      path: '/UpdateHuiYuanQy',
      
      component: () => import('@/views/UpdateHuiYuanQy.vue'),
    },
    {
      path: '/AddHuiYuantype',
      
      component: () => import('@/views/AddHuiYuantype.vue'),
    },
    {
      path: '/ShowHuiYuanType',

      component: () => import('@/views/ShowHuiYuanType.vue'),
    },
    {
      path: '/AddHuiYuan',
      component: () => import('@/views/AddHuiYuan.vue'),
    },
    {
      path: '/ShowHuiYuan',
      component: () => import('@/views/ShowHuiYuan.vue'),
    },
    {
      path: '/xiugai',
      component: () => import('@/views/xiugai.vue'),
    }
  ],
})

export default router
